package com.zmn.oms.third.taobao.dto.api;

import com.taobao.api.TaobaoResponse;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 类描述：
 *
 * @author LiangHailong
 * @date 2019/06/20 20:20
 */
@Data
public class TmallApiInvokResult<T> {
    private boolean success;
    private String msg;
    private TaobaoResponse taobaoResponse;

    private T data;
    private List<T> items;

    @Override
    public String toString() {
        return String.format("TaobaoApiInvokResult(success=%b, msg=\"%s\")", success, msg);
    }
}
